Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve WebSocket logging and error handling #15

Merged
merged 1 commit into from
Jun 29, 2023

Conversation

JeffSteinbok
Copy link
Owner

  • Log out WebSocket calls to unknown devices for debugging.
  • Don't fail if we receive a call for an unknown device SN.

@JeffSteinbok JeffSteinbok merged commit c9d5b6d into main Jun 29, 2023
JeffSteinbok added a commit that referenced this pull request Jul 18, 2023
* Improve WebSocket logging and error handling (#15)

* Jeff steinbok patch 3 (#16)

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* add support for DR-HAF003S and basis for other air circulator models

* clean up formatting with black

* update readme with new model

---------

Co-authored-by: Mike Cugini <mike@betamike.com>
JeffSteinbok added a commit that referenced this pull request Jul 19, 2023
* Infra/websocketlogging (#18)

* Improve WebSocket logging and error handling

* WebSocket Reconnect & Reload Flow

* Updated config constants. (#24)

Add some support for vertical oscillation
Return a Model attribute

* Feature/newfans (#25)

* Update Readme

* Beta integrate/betamike main (#26)

* Improve WebSocket logging and error handling (#15)

* Jeff steinbok patch 3 (#16)

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* add support for DR-HAF003S and basis for other air circulator models

* clean up formatting with black

* update readme with new model

---------

Co-authored-by: Mike Cugini <mike@betamike.com>

* Update pydreoaircirculatorfan.py

Fix baseclass for Air Circulator

* Fix typo

* Add Loggers

* Fix issue with loading wrong state values from AirCirculator.  And error handling.

* More State Fixes

* Bunch of PyLint fixes.  Found some bugs too.

* More forgiving of missing preset modes.
Bit more error logging.

---------

Co-authored-by: Mike Cugini <mike@betamike.com>
JeffSteinbok added a commit that referenced this pull request Jul 26, 2023
* Infra/websocketlogging (#18)

* Improve WebSocket logging and error handling

* WebSocket Reconnect & Reload Flow

* Updated config constants. (#24)

Add some support for vertical oscillation
Return a Model attribute

* Feature/newfans (#25)

* Update Readme

* Beta integrate/betamike main (#26)

* Improve WebSocket logging and error handling (#15)

* Jeff steinbok patch 3 (#16)

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* add support for DR-HAF003S and basis for other air circulator models

* clean up formatting with black

* update readme with new model

---------

Co-authored-by: Mike Cugini <mike@betamike.com>

* Update pydreoaircirculatorfan.py

Fix baseclass for Air Circulator

* Fix typo

* Add Loggers

* Fix issue with loading wrong state values from AirCirculator.  And error handling.

* More State Fixes

* Bunch of PyLint fixes.  Found some bugs too.

* More forgiving of missing preset modes.
Bit more error logging.

* Support Device & Temperature Sensor (#32)

* Initial device implementation.

* Beta (#29)

* Update pydreoaircirculatorfan.py

Fix baseclass for Air Circulator

* Fix typo

* Beta (#30)

* Update pydreoaircirculatorfan.py

Fix baseclass for Air Circulator

* Fix typo

* Add Loggers

* Temperature Sensor Config

* Sensor Work

* Sensors & Switches (#36)

* Initial device implementation.

* Beta (#29)

* Update pydreoaircirculatorfan.py

Fix baseclass for Air Circulator

* Fix typo

* Beta (#30)

* Update pydreoaircirculatorfan.py

Fix baseclass for Air Circulator

* Fix typo

* Add Loggers

* Temperature Sensor Config

* Sensor Work

* Initial Switch Work

* Start refactor & merge

* Whole bunch of linting fixes.
Also move all the HA imports into a single file so we can disable linting on it.

* More Cleanup

* Bit more error checking

* Add Device Model to DeviceInfo object
Temperature unit of measurement support
Fix sensor/switch descriptions
Support Display Always Off & Panel Sound Switches

* Update README

* Fix some refactoring bugs

* Fix Bad Merge

---------

Co-authored-by: Mike Cugini <mike@betamike.com>
JeffSteinbok added a commit that referenced this pull request Jul 26, 2023
* Infra/websocketlogging (#18)

* Improve WebSocket logging and error handling

* WebSocket Reconnect & Reload Flow

* Updated config constants. (#24)

Add some support for vertical oscillation
Return a Model attribute

* Feature/newfans (#25)

* Update Readme

* Beta integrate/betamike main (#26)

* Improve WebSocket logging and error handling (#15)

* Jeff steinbok patch 3 (#16)

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* add support for DR-HAF003S and basis for other air circulator models

* clean up formatting with black

* update readme with new model

---------

Co-authored-by: Mike Cugini <mike@betamike.com>

* Update pydreoaircirculatorfan.py

Fix baseclass for Air Circulator

* Fix typo

* Add Loggers

* Fix issue with loading wrong state values from AirCirculator.  And error handling.

* More State Fixes

* Bunch of PyLint fixes.  Found some bugs too.

* More forgiving of missing preset modes.
Bit more error logging.

* Support Device & Temperature Sensor (#32)

* Initial device implementation.

* Beta (#29)

* Update pydreoaircirculatorfan.py

Fix baseclass for Air Circulator

* Fix typo

* Beta (#30)

* Update pydreoaircirculatorfan.py

Fix baseclass for Air Circulator

* Fix typo

* Add Loggers

* Temperature Sensor Config

* Sensor Work

* Sensors & Switches (#36)

* Initial device implementation.

* Beta (#29)

* Update pydreoaircirculatorfan.py

Fix baseclass for Air Circulator

* Fix typo

* Beta (#30)

* Update pydreoaircirculatorfan.py

Fix baseclass for Air Circulator

* Fix typo

* Add Loggers

* Temperature Sensor Config

* Sensor Work

* Initial Switch Work

* Start refactor & merge

* Whole bunch of linting fixes.
Also move all the HA imports into a single file so we can disable linting on it.

* More Cleanup

* Bit more error checking

* Add Device Model to DeviceInfo object
Temperature unit of measurement support
Fix sensor/switch descriptions
Support Display Always Off & Panel Sound Switches

* Update README

* Fix some refactoring bugs

* Fix Bad Merge

---------

Co-authored-by: Mike Cugini <mike@betamike.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant